package com.etoak.rst.sys.dish.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;

@Data
public class DIsh {

    private int id;
    private String name;
    private BigInteger categoryId;
    private BigDecimal price;
    private String image;
    private String description;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
    private BigInteger createUser;
    private BigInteger updateUser;
}
